package com.carltechnology.mahjonggamecaculation.mode;

import android.content.ContentValues;
import android.os.Parcelable;

/**
 * Created by WZTCM on 2016/6/27.
 * The base interface for all mode interfaces.
 * it can be past to another context
 */
public interface IBaseData extends Parcelable,Cloneable{
    /**
     * this function used for generating the ContentValues for SqliteDatabase
     * @return ContentValues which contains the domain for Database
     */
    ContentValues getContentValues();

    /**
     *
     * @return id that the Mode stand for.
     */
    int getId();
}
